package com.centaline.androidsalesblog.model.databaseobject;

import android.os.Parcel;
import android.os.Parcelable;

import org.litepal.crud.DataSupport;

/**
 * 城市
 * Created by guilin on 16/1/6.
 */
public class CityDo extends DataSupport implements Parcelable {

    private String Code;
    private String IOS;
    private String Android;
    private String CityName;
    private String Spell;
    private String Abbr;
    private String PostImage;
    private String AgentPhoto;
    private String FindPropertyView;
    private String FindPropertyBlog;
    private String WebSite;
    private String UserCenterUrl;
    private String BizcommonUrl;
    private String NewPropUrl;
    private String AdLink;

    public CityDo() {
    }

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public String getIOS() {
        return IOS;
    }

    public void setIOS(String IOS) {
        this.IOS = IOS;
    }

    public String getAndroid() {
        return Android;
    }

    public void setAndroid(String android) {
        Android = android;
    }

    public String getCityName() {
        return CityName;
    }

    public void setCityName(String cityName) {
        CityName = cityName;
    }

    public String getSpell() {
        return Spell;
    }

    public void setSpell(String spell) {
        Spell = spell;
    }

    public String getAbbr() {
        return Abbr;
    }

    public void setAbbr(String abbr) {
        Abbr = abbr;
    }

    public String getPostImage() {
        return PostImage;
    }

    public void setPostImage(String postImage) {
        PostImage = postImage;
    }

    public String getAgentPhoto() {
        return AgentPhoto;
    }

    public void setAgentPhoto(String agentPhoto) {
        AgentPhoto = agentPhoto;
    }

    public String getFindPropertyView() {
        return FindPropertyView;
    }

    public void setFindPropertyView(String findPropertyView) {
        FindPropertyView = findPropertyView;
    }

    public String getFindPropertyBlog() {
        return FindPropertyBlog;
    }

    public void setFindPropertyBlog(String findPropertyBlog) {
        FindPropertyBlog = findPropertyBlog;
    }

    public String getWebSite() {
        return WebSite;
    }

    public void setWebSite(String webSite) {
        WebSite = webSite;
    }

    public String getUserCenterUrl() {
        return UserCenterUrl;
    }

    public void setUserCenterUrl(String userCenterUrl) {
        UserCenterUrl = userCenterUrl;
    }

    public String getBizcommonUrl() {
        return BizcommonUrl;
    }

    public void setBizcommonUrl(String bizcommonUrl) {
        BizcommonUrl = bizcommonUrl;
    }

    public String getNewPropUrl() {
        return NewPropUrl;
    }

    public void setNewPropUrl(String newPropUrl) {
        NewPropUrl = newPropUrl;
    }

    public String getAdLink() {
        return AdLink;
    }

    public void setAdLink(String adLink) {
        AdLink = adLink;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.Code);
        dest.writeString(this.IOS);
        dest.writeString(this.Android);
        dest.writeString(this.CityName);
        dest.writeString(this.Spell);
        dest.writeString(this.Abbr);
        dest.writeString(this.PostImage);
        dest.writeString(this.AgentPhoto);
        dest.writeString(this.FindPropertyView);
        dest.writeString(this.FindPropertyBlog);
        dest.writeString(this.WebSite);
        dest.writeString(this.UserCenterUrl);
        dest.writeString(this.BizcommonUrl);
        dest.writeString(this.NewPropUrl);
        dest.writeString(this.AdLink);
    }

    protected CityDo(Parcel in) {
        this.Code = in.readString();
        this.IOS = in.readString();
        this.Android = in.readString();
        this.CityName = in.readString();
        this.Spell = in.readString();
        this.Abbr = in.readString();
        this.PostImage = in.readString();
        this.AgentPhoto = in.readString();
        this.FindPropertyView = in.readString();
        this.FindPropertyBlog = in.readString();
        this.WebSite = in.readString();
        this.UserCenterUrl = in.readString();
        this.BizcommonUrl = in.readString();
        this.NewPropUrl = in.readString();
        this.AdLink = in.readString();
    }

    public static final Parcelable.Creator<CityDo> CREATOR = new Parcelable.Creator<CityDo>() {
        public CityDo createFromParcel(Parcel source) {
            return new CityDo(source);
        }

        public CityDo[] newArray(int size) {
            return new CityDo[size];
        }
    };
}
